package gfx;

import java.awt.Color;
import java.awt.Graphics;

import core.Vector2;

/**
 *
 * An instance which declares some methods for objects to render.
 * 
 * @author lueko.voss
 *
 */
public interface Drawable {
    
	/**
	 * Renders the object.
	 * 
	 * @param g Graphics object to render with.
	 */
    public void render(Graphics g);
    
    /**
     * @return Returns whether an object is removed.
     */
    public boolean removed();
    
    /**
     * @return Returns the position as a Vector2.
     */
    public Vector2 getPos();
    
    /**
     * @return Returns the specified color of an object.
     */
    public Color getColor();
    
    /**
     * @return Returns the size as a Vector2.
     */
    public Vector2 getSize();
}
